package com.hebeu.core.util;

import java.util.List;

public interface BaseService<T> {
	public T get(int id);
	
	public List<T> getAll();
	
	public List<T> getList(String hql);
	
	public void save(final T entity);
	
	public void delete(int id);
	
	public void search(String hql);
}
